package com.slipper.system.collect.bo;

import java.util.Collections;
import java.util.List;

import com.slipper.common.bo.CommonBO;

/**
 * 采集任务信息表
 */
public class CollectTaskBO extends CommonBO {
    public static final String SYNC_MODEL_MANUALLY = "手动";

    /* 主键ID */
    private String id;
    /* 主键ID */
    private String[] ids;
    /* 名称 */
    private String name;
    /* 同时采集表数量 */
    private Integer syncCount;
    /* 采集方式 */
    private String syncMode;
    /* 采集类型 */
    private String syncType;
    /* 采集时间 */
    private String syncTime;
    /* 采集周期 */
    private String syncPeriod;
    /* 采集表达式 */
    private String syncExpression;
    /* 来源数据源 */
    private String originDatasourceId;
    private String originDatasourceName;
    /* 目标数据源 */
    private String targetDatasourceId;
    private String targetDatasourceName;
    /* 状态：正常、暂停 */
    private String status;
    /* 更新人ID */
    private String updateId;
    /* 更新时间 */
    private Long updateTime;
    /* 创建人ID */
    private String createId;
    /* 创建时间 */
    private Long createTime;

    private List<CollectTableBO> tableList = Collections.emptyList();

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String[] getIds() {
        return ids;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSyncCount() {
        return syncCount;
    }

    public void setSyncCount(Integer syncCount) {
        this.syncCount = syncCount;
    }

    public String getSyncMode() {
        return syncMode;
    }

    public void setSyncMode(String syncMode) {
        this.syncMode = syncMode;
    }

    public String getSyncType() {
        return syncType;
    }

    public void setSyncType(String syncType) {
        this.syncType = syncType;
    }

    public String getSyncTime() {
        return syncTime;
    }

    public void setSyncTime(String syncTime) {
        this.syncTime = syncTime;
    }

    public String getSyncPeriod() {
        return syncPeriod;
    }

    public void setSyncPeriod(String syncPeriod) {
        this.syncPeriod = syncPeriod;
    }

    public String getSyncExpression() {
        return syncExpression;
    }

    public void setSyncExpression(String syncExpression) {
        this.syncExpression = syncExpression;
    }

    public String getOriginDatasourceId() {
        return originDatasourceId;
    }

    public void setOriginDatasourceId(String originDatasourceId) {
        this.originDatasourceId = originDatasourceId;
    }

    public String getOriginDatasourceName() {
        return originDatasourceName;
    }

    public void setOriginDatasourceName(String originDatasourceName) {
        this.originDatasourceName = originDatasourceName;
    }

    public String getTargetDatasourceId() {
        return targetDatasourceId;
    }

    public void setTargetDatasourceId(String targetDatasourceId) {
        this.targetDatasourceId = targetDatasourceId;
    }

    public String getTargetDatasourceName() {
        return targetDatasourceName;
    }

    public void setTargetDatasourceName(String targetDatasourceName) {
        this.targetDatasourceName = targetDatasourceName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getUpdateId() {
        return updateId;
    }

    public void setUpdateId(String updateId) {
        this.updateId = updateId;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public List<CollectTableBO> getTableList() {
        return tableList;
    }

    public void setTableList(List<CollectTableBO> tableList) {
        this.tableList = tableList;
    }
}
